const api = {
  process: {
    page: 'bpm/process/page',
    list: 'bpm/process/list',
    get: 'bpm/process/get',
    add: 'bpm/process/save',
    authList: 'bpm/process/auth/list',
    authAdd: 'bpm/process/auth/save',
    authDel: 'bpm/process/auth/delete',
    update: 'bpm/process/update',
    remove: 'bpm/process/remove',
    //获取流程分类
    getTypes: "act/designer/api/getTypes",
    //监听
    getListenersByType: "act/designer/api/getListenersByType",
    identityType: [{ label: '用户', value: 1 }, { label: '角色', value: 2 }]
  },
  processDefinition: {
    setState: '/bpm/processDefinition',
    upload: '/base/bpm/processDefinition/import',
    page: '/bpm/processDefinition/list',
    remove: '/bpm/processDefinition/delete'
  },
  model: {
    page: 'bpm/model/page',
    list: 'bpm/model/list',
    get: 'bpm/model/get',
    add: 'bpm/model/save'
  }
}
export default api
